home *** CD-ROM | disk | FTP | other *** search
- Path: news.sprintlink.net!datalytics!usenet
- From: Rob Stewart <stew@datalytics.com>
- Newsgroups: comp.lang.c++
- Subject: Re: *****beginer question******unresolved external symbol
- Date: Tue, 09 Apr 1996 16:59:38 -0400
- Organization: Datalytics, Inc
- Message-ID: <316ACFBA.3483@datalytics.com>
- References: <4kcof4$9h1@ddi2.digital.net>
- NNTP-Posting-Host: 204.62.224.71
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Kenzo wrote:
- [snip]
- >
- > Compiling...
- > avltree.cpp
- > Linking...
- > avltree.obj : error LNK2001: unresolved external symbol "class ostream
- > & __cdecl operator<<(class ostream &,class String const
- > &)"(??6@YAAAVostream@@AAV0@ABVString@@@Z)
- > avltree.obj : error LNK2001: unresolved external symbol "public:
- [etc]
-
- You have included the header for and are using a class called
- String. However, the linker can't find the object code for it.
- You either need to add another .cpp (string.cpp?) to your
- project, or you need to link with the library containing
- String's object code (or, in the case of a DLL import library,
- the DLL stubs).
-
- --
- Robert Stewart | My opinions are usually my own.
- Datalytics, Inc. | stew@datalytics.com
-